import random


def gen_captcha():
    captcha = ""
    for i in range(6):
        tmp_int = random.randint(0, 9)
        captcha += str(tmp_int)

    return captcha


if __name__ == "__main__":
    res = gen_captcha()

    print(res)
